package com.sina.weibo;

import android.content.Intent;
import android.util.Log;
import android.widget.ListAdapter;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

public class LocalSearch extends SearchBase
{
  ListAdapter makeMeAnAdapter(Intent paramIntent)
  {
    String str1;
    if (paramIntent.getAction().equals("android.intent.action.SEARCH"))
    {
      str1 = paramIntent.getStringExtra("query");
      int i = Log.v("?", str1);
    }
    try
    {
      String str2 = URLEncoder.encode(str1.trim(), "UTF-8");
      Intent localIntent1 = new Intent();
      Intent localIntent2 = localIntent1.setClass(this, SearchActivity.class);
      Intent localIntent3 = localIntent1.putExtra("keyword", str2);
      startActivity(localIntent1);
      finish();
      return null;
    }
    catch (UnsupportedEncodingException localUnsupportedEncodingException)
    {
      while (true)
        localUnsupportedEncodingException.printStackTrace();
    }
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.LocalSearch
 * JD-Core Version:    0.6.0
 */